//
//  LMCycleView.h
//  轮播图封装(CollectionView版本)
//
//  Created by CoderDoctorLee on 16/5/26.
//  Copyright © 2016年 CoderDoctorLee. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol LMCycleViewDelegate <NSObject>

@required
//必须实现的:
@optional
//可选择实现的:
- (void)didClickedItemAtIndexPath:(NSIndexPath *)indexPath;

@end


@interface LMCycleView : UIView

/** 代理人 */
@property(nonatomic, assign)id<LMCycleViewDelegate> delegate;

//声明初始化方法:
- (instancetype)initWithFrame:(CGRect)frame
                   DataSource:(NSArray *)dataSource
                 TimeInterval:(CGFloat)time;

//刷新方法：
- (void)reloadDataByArray:(NSMutableArray *)dataSource;


@end
